actions :create, :destroy
 
attribute :name, :kind_of => String
attribute :type, :kind_of => String,:default => "", :equal_to => ["mirror", "raidz", "raidz2", ""]
attribute :disks, :kind_of => Array

attribute :info, :kind_of => Mixlib::ShellOut, :default => nil
attribute :state, :kind_of => String, :default => nil
 
def initialize(*args)
  super
  @action = :create
end
